#flow {
  display: flex;
  flex-wrap: no-wrap;
  position: relative;
  user-select: none;
  margin-right: 270px;
  width: 100%;

  #steps {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: no-wrap;
    align-self: stretch;
    padding-left: 0;
    flex-direction: column;
    > .step {
      box-shadow: var(--shadow-lighter);
      margin: 18px;
      margin-bottom: 24px;

      .step-header {
        height: 200px;
        position: absolute;
        width: calc(100% - 36px);
        overflow: hidden;
        img {
          object-fit: cover;
          margin-left: auto;
          margin-right: auto;
          max-width: 100%;
        }
      }

      .step-main-container {
        padding: 24px;
        margin-top: 200px;
        .edit-container {
          input {
            width: 100%;
          }
        }
        .editable {
          border-radius: 6px;
          &.row {
            padding: 8px;
          }
          &:hover {
            filter: opacity(50%);
            background-color: var(--color-grey-light);
            transition: all 0.5s ease;
          }
          &:hover,
          & *:hover {
            cursor: pointer;
          }
        }

        form {
          margin-top: 12px;

          &#auth-form {
            position: relative;
            .overlay {
              position: absolute;
              left: 0;
              top: 30%;
              width: calc(100% - 40px);
              margin-left: auto;
              margin-right: auto;
              text-align: center;
              padding: 20px;
              margin: 20px;
              font-weight: bold;
              font-size: 22px;
              box-shadow:
                3px 3px 5px rgb(0 0 0 / 0.18),
                3px 1px 4px rgb(0 0 0 / 0.3);
              border: var(--color-danger) 4px solid;
              background-color: white;
            }
          }
        }
      }
    }
  }
}
.defocused {
  #flow {
    background-color: var(--color-grey-light);
    opacity: 0.5;
    * {
      cursor: default !important;
      &:hover {
        color: default !important;
        background-color: default !important;
      }
    }
  }
}
#dirty-flow {
  z-index: 400;
  position: fixed;
  background-color: white;
  margin-bottom: 0;
  bottom: 1px;
  left: 250px;
  right: 250px;
  box-shadow: var(--shadow-dialog);
  button {
    margin-left: auto;
  }
}
#flow-modal {
  position: fixed;
  width: 800px;
  max-width: 100%;
  left: 0;
  right: 0;
  top: 300px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 32px;
  background: white;
  z-index: 50;
  box-shadow: var(--shadow-dialog);
  .i18n-form-group {
    margin-top: 8px;
  }
}
.title-input input {
  text-align: right;
  font-weight: bold;
}
